package com.achievement.mapper;

import com.achievement.domain.entity.PaperEntity;
import com.achievement.domain.param.PaperParam;
import com.achievement.domain.vo.PaperVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
* @author CNKI
* @description 针对表【biz_paper(科研成果-学术论文-论文列表)】的数据库操作Mapper
* @createDate 2025-02-12 10:02:32
*/
public interface PaperMapper extends BaseMapper<PaperEntity> {

    List<PaperVO> getList(@Param(value = "param") PaperParam param, @Param(Constants.WRAPPER) Wrapper<PaperEntity> queryWrapper);

    List<PaperVO> getListByExport(@Param(value = "param") PaperParam param, @Param(Constants.WRAPPER) Wrapper<PaperEntity> queryWrapper);

    List<HashMap<String, Integer>> listStatistics(@Param(value = "param") PaperParam param, @Param(Constants.WRAPPER) Wrapper<PaperEntity> queryWrapper);
}




